// 首页模块 路径
// 导入home页面
import Home from "@/view/home.vue"
import { RouteRecordRaw } from "vue-router"
// 转化 其他语言
import i18n from "@/i18n"
const homeRouter: RouteRecordRaw = // 首页
{
  path: '/',
  redirect: '/index',
  name: 'index',
  component: Home,
  meta: {
    title: 'menus.wIndex',
    icon: 'house',
    permission: 'system:index'
  },
  children: [
    // 首页
    {
      path: 'index',
      name: 'index',
      component: () => import('@/view/children/index/index.vue'),
      meta: {
        title: 'menus.wIndex',
        icon: 'house',
        permission: 'system:index'
      }
    },
  ]
}

export default homeRouter